#ifndef _SHELL_MININGBEAN_BEAN_H_
#define _SHELL_MININGBEAN_BEAN_H_

#include "Beans.h"
#include "Message.h"
#include <vector>
using namespace std;
class MiningBean : public Bean
{
	public:
	MiningBean();
	~MiningBean();
	void reset();
	MiningBean* clone();
	//矿区id
	int32 miningId;
	//是否开启0否1是
	int8 isOpen;
	//矿区妖王

	vector<YaoWangBean*> yaoWangs;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
